package com.koron.operation.startlog.bean.excelbean;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Data;

import java.util.Date;

@Data
public class StartLogTemplate implements IExcelModel, IExcelDataModel {

    /**
     * 行号
     */
    private Integer rowNum;

    /**
     * 错误消息
     */
    private String errorMsg;


    @Excel(name = "设备管理单位名称", width = 20)
    private String deptManageName;

    @Excel(name = "设备名称", width = 20)
    private String equipmentName;

    @Excel(name = "操作人名称", width = 20)
    private String operateUserMan;

    @Excel(name = "操作时间", width = 40, exportFormat = "yyyy-MM-dd HH:mm:ss")
    private Date operateTime;

    @Excel(name = "操作类型", width = 20)
    private String operateType;

    @Excel(name = "原因", width = 40)
    private String content;

    @Excel(name = "创建人姓名", width = 20)
    private String createByName;

    @Excel(name = "创建时间", width = 30, exportFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    //确认状态
    private Integer isConfirm;

    //是否试机
    private Boolean isTest;

    @Excel(name = "状态", width = 20)
    private String isConfirmStr;

    private static final long serialVersionUID = 1L;

}
